﻿DROP TABLE IF EXISTS `open_buyer_show`;
CREATE TABLE `open_buyer_show` (
  `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `user_id` varchar(30) NOT NULL DEFAULT '',
  `img_path` varchar(255) NOT NULL DEFAULT '',
  `store_dir` varchar(255) NOT NULL DEFAULT '',
  `ip_address` varchar(15) DEFAULT '',
  `type` varchar(10) NOT NULL DEFAULT '',
  `upload_time` int(11) NOT NULL DEFAULT '0',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `goods_id` (`goods_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;